package org.mq.mymq.common.enums;

/**
 * @ClassName SendMessageToBrokerResponseStatus
 * @Description
 * @Author jiarong_ye
 * @Date 2025/6/27 14:53
 * @Version 1.0
 */
public enum SendMessageToBrokerResponseStatus {
    SUCCESS(0, "发送成功"),
    FAIL(1, "发送失败"),
    ;
    int code;
    String desc;

    SendMessageToBrokerResponseStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
